#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pi pair<ll, ll>
#define fi first
#define se second
int main(){
    freopen("arena.in", "r", stdin);
    freopen("arena.out", "w", stdout);
    ll t, x;
    cin >> t;
    while(t--){
        cin >> x;
        cout << 0 << "\n";
    }
    return 0;
}
